//
//  ICMCellLabourCell.h
//  ICrEAM
//
//  Created by rainimute on 16/11/22.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ICMProxyActivityModel.h"

@protocol  ICMCellLabourCellDelegate <NSObject>

@optional
- (void)didSelectedStateButtonWithLabourCode:(NSString*)labourCode andButtonState:(BOOL)isSelected WithActCode:(NSString *)actCode;

@end

@interface ICMCellLabourCell : UICollectionViewCell

@property (nonatomic, weak) id<ICMCellLabourCellDelegate>delegate;//代理

@property (weak, nonatomic) IBOutlet UILabel *partNameLabel;//项目名称
@property (weak, nonatomic) IBOutlet UILabel *partIdLabel;//项目id
@property (weak, nonatomic) IBOutlet UIButton *stateButton;//选择状态btn

@property (nonatomic, copy) NSString *ACTIVITY_CODE;//活动代码

- (void)setupCellLabourCellWithPartModel:(ICMProxyActivityLabourModel*)labourModel  WithExistDic:(NSMutableDictionary *)dic;


@end
